<style>
    .wrap{
        width: 800px;
        margin: 0 auto;
    }
    .wenli{
        padding: 15px 40px;
        height: 434.73px;
    }
    .title{
        font-size: 18px;
        color: #000000;
        text-align: center;
        padding-bottom: 5px;
        letter-spacing: 2px;
    }
    .sizhi{
        text-align: center;
        font-size: 13px;
        color: #333333;
        padding-bottom: 5px;
    }
    .chutitle{
        font-size: 20px;
        color: #333333;
        letter-spacing: 15px;
        text-align: center;
        padding-bottom: 5px;
        font-weight: bold;
    }
    .kebox{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 5px;
        padding-top: 5px;
    }
    .ketxt{
        font-size: 14px;
        color: #333333;
        flex-shrink: 0;
    }
    .oneline{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:break-word;}

    table{border-collapse:collapse;border-spacing:0;width: 100%;}

    tr{
        margin: 0 !important;
        padding: 0 !important;
    }
    td{
        border: 1px solid #999999;
        padding: 1px;
        text-align: center;
        font-size: 14px;
        color: #333333;
    }
    label{
        font-size: 14px;
        color: #333333;
        padding-right: 15px;
        cursor: pointer;
    }
</style>
<div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close"
                onclick="Layer.closeAll()">{:__('Close')}</button>
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="doPrint()">打印</button>
    </div>
</div>
<div id="app">
    <div class="wrap">
        {volist name="lists" id="vo"}
        <div class="wenli">
            <div class="title">
                xxx有限公司
            </div>
            <div class="sizhi">
                地址:xxxxxxxxx  &nbsp;&nbsp;&nbsp; 电话: 0758-XXXXXX
            </div>
            <div class="ketxt">
                制单日期 ：{$vo.createtime|date="Y年m月d日",###}
            </div>
            <div class="ketxt">
                预估完成日期 ：{$vo.finish_time}
            </div>
            <div class="ketxt">
                实际完成日期 ：{$vo.actual_finish_time}
            </div>
            <div class="chutitle">
                车间生产详情
            </div>
            <table >
                <tr>
                    <td>序号</td>
                    <td>名称</td>
                    <td>规格</td>
                    <td>尺寸要求/图号</td>
                    <td>数量</td>
                    <td>料工</td>
                    <td>车工</td>
                    <td>钻工</td>
                    <td>料/检/其他要求</td>
                </tr>
                {volist name="vo.goods_info" id="vv" key = "k"}
                <tr>
                    <td>{$k}</td>
                    <td>{$vv.product_name}</td>
                    <td>{$vv.product_spec}</td>
                    <td>{$vv.product_standard}</td>
                    <td>{$vv.number}</td>
                    <td>{$vv.material_worker}</td>
                    <td>{$vv.lathe_worker}</td>
                    <td>{$vv.driller_worker}</td>
                    <td>{$vv.remark}</td>
                </tr>
                {/volist}

            </table>


        </div>
        {/volist}
    </div>

</div>
<style></style>
<script>
    function doPrint() {
        window.print()
    }
</script>